package moxl.relaxng.schema;

import moxl.dom.MoxlCharacterData;
import moxl.dom.MoxlElement;
import moxl.dom.MoxlNodeVisitor;

public class EmptyStringCharacterData implements MoxlCharacterData
{

	public String getData()
	{
		return "";
	}

	public boolean isWhitespace()
	{
		throw new UnsupportedOperationException("TODO");
	}

	public void accept(MoxlNodeVisitor visitor)
	{
		throw new UnsupportedOperationException("TODO");
	}

	public String getNodeName()
	{
		throw new UnsupportedOperationException("TODO");
	}

	public MoxlElement getParent()
	{
		throw new UnsupportedOperationException("TODO");
	}

	public void setParent(MoxlElement parent)
	{
		throw new UnsupportedOperationException("TODO");
	}

	public static EmptyStringCharacterData getInstance()
	{
		return INSTANCE;
	}

	private static final EmptyStringCharacterData INSTANCE = new EmptyStringCharacterData();

	private EmptyStringCharacterData()
	{
	}
}
